﻿using OpenNETCF;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Threading;
using System.Collections.Specialized;

namespace OpenNETCF.Extensions.Unit.Test
{
    [TestClass()]
    public class BitVector16Test
    {
        public TestContext TestContext { get; set; }

        [TestMethod()]
        public void BitTest()
        {
            BitVector16 vector;

            for (int i = 0; i < 16; i++)
            {
                short expected = (short)(1 << i);
                vector = new BitVector16(expected);
                Assert.AreEqual(expected, vector.Data);
            }

        }
    }
}
